git-jemalloc2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
commit7a2552dd6d1a90e75cef8793959250a9a1652c11
tree56b36fc3ba5c43a9e80ecce0cf1bbd6e46b9c828
parent0ad5f59da41b73abb0d9a79bd85c195152dba71c
git-jemalloc2

commit 53da64d1cf3694a132287d1ab6e9655031124e32
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Aug 8 12:19:29 2023 +0200

    htl: Initialize ___pthread_self early

    When using jemalloc, malloc() needs to use TSD, while libpthread
    initialization needs malloc(). Having ___pthread_self set early to some
    static storage allows TSD to work early, thus allowing jemalloc and
    libpthread to initialize together.

    This incidentaly simplifies __pthread_enable/disable_asynccancel and
    __pthread_self, now that ___pthread_self is always initialized.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-jemalloc2.diff
htl/cancellation.c
htl/pt-self.c
sysdeps/mach/hurd/htl/pt-sysdep.c